package com.xuchaotong.exceptions;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class ExceptionHandler {

    public void handle() {
        try {
            throw new BaseException("这个是BaseException...");
        } catch (Exception e) {
            log.error("error log start...");
            log.error("the log info:", e);
        }
    }
}
